﻿@using FCTC_Web.Controllers.Business.BusinessModel
@model ShopDetailBusiness
@{
    Layout = null;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>商铺</title>
    <link href="@Url.Content("~/Content/shangpu.css")" rel="stylesheet" type="text/css" />
   
</head>
<body>
    <div class="dianpu_top">
        <div class="dianpu_top_2">@Html.DisplayFor(item => Model.Shop.FullName)</div>
        <div class="dianpu_top_3">
            联系电话：<span>@Html.DisplayFor(item => Model.Shop.ContactNumber)</span></div>
        <div class="dianpu_top_4">
            地址：>@Html.DisplayFor(item => Model.Shop.Address)</div>
        <div class="dianpu_top_5">
            您现在的位置: <a href="@Url.Action("Index", "Default")">首页</a> > <a href="#">@Html.Display(Model.Shop.FullName)</a></div>
    </div>
    <div class="dianpu_nav">
        <ul>
            <li><a href="#">首 页</a></li>
            <li><a href="#">公司介绍</a></li>
            <li><a href="#">店内公告</a></li>
            <li><a href="#">车辆评估</a></li>
            <li><a href="#">车辆展示</a></li>
            <li><a href="#">二手置换</a></li>
            <li><a href="#">在线留言</a></li>
        </ul>
    </div>
    <div class="dianpu_center">
        <div class="dianpu_center_left">
            <div class="content_right_3">
                <div class="content_right_4">
                    <a href="#">
                        <img src="/images/more2.gif" width="49" height="19" /></a>商户信息</div>
                <div class="dianpu_shanghu">
                    @if (Model.Shop.Imgs != null && Model.Shop.Imgs.Count > 0)
                    {
                        <img src="@Url.Action("ShowImage", "Image", new { id = Model.Shop.Imgs[0].ID })" width="216" height="141" alt="tu" />
                    }
                    else
                    {
                        <img src="/images/moren_shop.jpg" width="216" height="141" alt="tu" />
                    }
                    <p>
                        商户名： @Html.DisplayFor(item => Model.Shop.FullName)</p>
                    <p>
                        地 址： @Html.DisplayFor(item => Model.Shop.Address)
                    </p>
                    <p>
                        电 话： @Html.DisplayFor(item => Model.Shop.ContactNumber)
                    </p>
                    <p>
                        市 场： @Html.DisplayFor(item => Model.Shop.Title)
                    </p>
                    <p>
                        信用度：
                        @{ 
                            int i = 0;
                            if (Model.Shop.TrustLevel == "一级")
                            {
                                i = 1;
                            }
                            if (Model.Shop.TrustLevel == "二级")
                            {
                                i = 2;
                            }
                            if (Model.Shop.TrustLevel == "三级")
                            {
                                i = 3;
                            }
                            if (Model.Shop.TrustLevel == "四级")
                            {
                                i = 4;
                            }

                            for (int j = 0; j < i; j++)
                            {
                            <img src="/images/con_huang.gif" width="14" height="14" alt="tu" />
                            }
                        }
                    </p>
                </div>
            </div>
        </div>
        <div class="dianpu_center_right">
            <div class="zuixin_left">
                <div class="con5_left_2">
                    <div class="pinggu_1">
                        <div class="pinggu_3">
                            <a href="#">
                                <img src="/images/more2.gif" alt="more" /></a>公司简介</div>
                    </div>
                </div>
                <div class="dianpu_right">
                    <p>
                        @Html.DisplayFor(item => Model.Shop.Description)
                    </p>
                </div>
            </div>
        </div>
    </div>
    <div class="foot">
        <p>
            ·<a href="#">关于我们</a> ·<a href="#">搜爱车</a> ·<a href="#">合作机构</a> ·<a href="#">招聘信息</a>
            ·<a href="#">联系我们</a> ·<a href="#">隐私保护规则</a> ·<a href="#">网站地图</a> ·<a href="#">问题反馈</a></p>
        <p>
            [ 经营许可证号 110108004456969 ] [ 京ICP证0550512号 ] [ 京公网安备116601001869号</p>
        <p>
            Copyright © 2004 - 2011 www.iautos.cn All Rights Reserved</p>
    </div>
</body>
</html>
